import 'package:flutter/cupertino.dart';
import 'package:little_game/redux/action.dart';

class GlobalStore {
   final List<dynamic> gameList;
   final Locale locale;
   final bool init;
   GlobalStore({this.gameList,this.locale,this.init});
}


GlobalStore reducer(GlobalStore state, action){
  return new GlobalStore(
    gameList:state.gameList,
    locale: state.locale,
    init: InitReducer(state.init,action)
  );
}